﻿@model Coslen.TahorCRM.Domain.Entities.ViewModels.Editing.ContactEventEditViewModel

@Html.HiddenFor(model => model.ContactEvent.ContactEventId)
@Html.HiddenFor(model => model.ContactEvent.CreatedAt)
@Html.HiddenFor(model => model.ContactEvent.UpdatedAt)
@Html.HiddenFor(model => model.ContactEvent.DeletedAt)
@Html.HiddenFor(model => model.ContactEvent.ContactId)
@Html.HiddenFor(model => model.ContactEvent.CreatedByUserId)

    
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.ContactEvent.EventTypeId)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.ContactEvent.EventTypeId, Model.ContactEventTypeList)
            @Html.ValidationMessageFor(model => model.ContactEvent.EventTypeId)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.ContactEvent.OccurredAt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactEvent.OccurredAt)
            @Html.ValidationMessageFor(model => model.ContactEvent.OccurredAt)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.ContactEvent.Description)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.ContactEvent.Description)
            @Html.ValidationMessageFor(model => model.ContactEvent.Description)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.ContactEvent.IsPublic)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactEvent.IsPublic)
            @Html.ValidationMessageFor(model => model.ContactEvent.IsPublic)
        </div>
    </div>


